package com.ysw.annotation;

import org.springframework.core.annotation.AnnotationAttributes;

/**
 * {@linkplain SoaReference}注解工具类
 * @author ysw  2019/11/2 7:09 PM
 */
public final class SoaReferenceAnnotationUtil {

    /**
     * 获取{@linkplain SoaReference}注解的 application值
     * @param soaReferenceAnn {@linkplain SoaReference}的属性
     * @return
     */
    public static String getApplication(AnnotationAttributes soaReferenceAnn) {
        return soaReferenceAnn.getString("application");
    }
}
